from flask import Flask

from .cfg import Development
from .exts import init_exts
from .apis import init_apis


def create_app():
    app = Flask(__name__)
    app.config.from_object(Development)
    init_exts(app)
    init_apis(app)
    return app